import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { BrowserRouter } from 'react-router-dom';
import IndexLayout from './layouts/IndexLayout';
import store from './store';


const App = props => {
    return (
        <Provider store={ store }>
            <BrowserRouter>
                <IndexLayout />
            </BrowserRouter>
        </Provider>
    )
};

const rootElement = document.getElementById('root');
ReactDOM.render(<App />, rootElement);